package Homework.work3;

import java.util.Scanner;

public class E {
    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    int y = input.nextInt();
    if((y%4==0 && y%100!=0)||(y%400==0)){
        System.out.println("yes");
    }else {
        System.out.println("no");
    }
 }
}
